import { FriendModel } from "../../models/friend.js";
var friend = new FriendModel();
Component({
  properties: {
      showAddFriend:{
        type:Boolean,
        value:true
      },
      showData:{
        type:Object
      }
  },
  data: {

  },
  methods: {
    addFriend:function(e){
      let user = e.target.dataset.user;
      this.triggerEvent('addFriend', {
        uid: user
      }, {})
      
    }
  }
})
